<template>
  <div class="copyright"> {{ copyright }}</div>
</template>

<script>
import config from '@/config/index'
import {reactive, toRefs} from "vue";

export default {
  name: 'CopyRight',
  setup() {
    const stateData = reactive({
      copyright: config.copyRight
    })

    return {
      ...toRefs(stateData)
    }
  }
}
</script>

<style scoped>
.copyright {
  width: 100%;
  height: 40px;
  line-height: 40px;
  vertical-align: middle;
  text-align: center;
  position: fixed;
  font-size: 14px;
  bottom: 0;
}
</style>
